package com.kyh.sys.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.kyh.sys.entity.Tables;

import java.util.List;

@Mapper
public interface TablesMapper {

    public Tables get(
            @Param("databaseName") String databaseName,
    		@Param("tableName") String tableName
    		);

	public int count(
            @Param("databaseName") String databaseName,
            @Param("tableName") String tableName
			);

	public List<Tables> search(
			@Param("limit") Integer limit,
			@Param("start") Integer start,
            @Param("databaseName") String databaseName,
            @Param("tableName") String tableName
			);
}